package com.module.framework.domain;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Product)表实体类
 *
 * @author makejava
 * @since 2022-02-13 20:20:48
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_product")
public class Product {

	private Integer id;
	//价格
	private Double price;

	//产品名称
	private String name;
	
	//缩略图
	private String pic;
	//产品描述
	private String description;
	//种类id
	private Integer cateId;
	@TableField(exist = false)
	private String categoryName;
	//商品发布：0已发布1未发布
	private String status;
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
	private Integer delFlag;

}

